package com.mb.app.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 优惠卷控制
 * </p>
 *
 * @author liliping
 * @since 2019-05-23
 */
@TableName("tb_coupon_control")
public class TbCouponControl implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 颜色编号
	 */
	@TableId(value="coupon_control_id")
	private Integer couponControlId;

	/**
	 * 优惠卷配置
	 */
	@TableField(value="coupon_cfg_id")
	private Long couponCfgId;

	/**
	 * 备注
	 */
	private String remarks;

	/**
	 * 状态 1:正常 0:删除
	 */
	@TableField(value="data_status")
	private Integer dataStatus;

	/**
	 * 添加时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 修改时间
	 */
	@TableField(value="update_time")
	private Date updateTime;

	/**
	 * 删除时间
	 */
	@TableField(value="delete_time")
	private Date deleteTime;

	/**
	 * 添加人
	 */
	@TableField(value="add_user_id")
	private Long addUserId;

	/**
	 * 修改人
	 */
	@TableField(value="update_user_id")
	private Long updateUserId;

	/**
	 * 删除人
	 */
	@TableField(value="delete_user_id")
	private Long deleteUserId;

	/**
	 * 优惠卷名称
	 */
	@TableField(exist = false)
	private String couponName;

	/**
	 * 优惠卷类型 1新人 2分享
	 * @return
	 */
	@TableField(value = "control_type")
	private int controlType;

	public Integer getCouponControlId() {
		return couponControlId;
	}

	public void setCouponControlId(Integer couponControlId) {
		this.couponControlId = couponControlId;
	}

	public Long getCouponCfgId() {
		return couponCfgId;
	}

	public void setCouponCfgId(Long couponCfgId) {
		this.couponCfgId = couponCfgId;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Integer getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(Integer dataStatus) {
		this.dataStatus = dataStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getDeleteTime() {
		return deleteTime;
	}

	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}

	public Long getAddUserId() {
		return addUserId;
	}

	public void setAddUserId(Long addUserId) {
		this.addUserId = addUserId;
	}

	public Long getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(Long updateUserId) {
		this.updateUserId = updateUserId;
	}

	public Long getDeleteUserId() {
		return deleteUserId;
	}

	public void setDeleteUserId(Long deleteUserId) {
		this.deleteUserId = deleteUserId;
	}

	public String getCouponName() {
		return couponName;
	}

	public void setCouponName(String couponName) {
		this.couponName = couponName;
	}


	public int getControlType() {
		return controlType;
	}

	public void setControlType(int controlType) {
		this.controlType = controlType;
	}
}
